#include "Position.h"

Position::Position() {
}

Position::Position(float x,float y) {
	this->x = x;
	this->y = y;
	this->pixelX = x;
	this->pixelY = y;
}

Position::~Position() {
}

void Position::increasePixelX(){
	this->pixelX = this->pixelX+1;
}

void Position::decreasePixelX(){
	this->pixelX = this->pixelX-1;
}

void Position::decreasePixelY(){
	this->pixelY = this->pixelY-1;
}

void Position::increasePixelY(){
	this->pixelY = this->pixelY+1;
}

int Position::getPixelX(){
	return this->pixelX;
}
	
int Position::getPixelY(){
	return this->pixelY;
}

void Position::setPixelX(int pixelX){
	this->pixelX = pixelX;
}

void Position::setPixelY(int pixelY){
	this->pixelY = pixelY;
}

float Position::getAxisX(){
	return this->x;
}

float Position::getAxisY(){
	return this->y;
}

void Position::setAxisY(float y){
	this->y = y;
	//this->pixelY = y;
}

void Position::setPixel(int pixelX,int pixelY){
	this->pixelX = pixelX;
	this->pixelY = pixelY;
}

void Position::setAxisX(float x){
	this->x = x;
	//this->pixelX = x;
}

void Position::setId( string id) {
	this->id = id;
}

string Position::getId() {
	return this->id;
}

void Position::resetPosition( int x, int y ){
	this->x = x;
	this->y = y;
	this->pixelX = x;
	this->pixelY = y;
}